package com.zhiyou100.entity;

/**
 * @author yang
 * @className Teacher
 * @packageName com.zhiyou100.entity
 * @Description TODO 老师实体类
 * @date 2020-08-12 18:05
 */
public class Teacher {
    private Integer tid;
    private String tname;
    private String tpwd;

    public Teacher() {
    }

    public Teacher(Integer tid, String tname, String tpwd) {
        this.tid = tid;
        this.tname = tname;
        this.tpwd = tpwd;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTpwd() {
        return tpwd;
    }

    public void setTpwd(String tpwd) {
        this.tpwd = tpwd;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", tpwd='" + tpwd + '\'' +
                '}';
    }
}
